<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <title>考试报名官网</title>
    <link rel="icon" href="../jkun.jpg">
</head>
<style>
    body{
        font-size: 14px;
        margin: 0;
        padding: 0;
        font-family: 'Microsoft yahei', Arial, "Times New Roman", Times, serif, NeeaSimsun-Regular;
        text-align: left;
        background: #fff;
        color: #404040;
    }
    .el-main {
        padding: 0;
    }

    <!--
    布局样式-- >
    .el-row {
        margin-bottom: 20px;

    }

    .el-col {
        border-radius: 4px;
    }

    .bg-purple-dark {
        background: #99a9bf;
    }

    .bg-purple {

    }

    .el-menu--horizontal > .el-menu-item {
        float: left;
        height: 45px;
        margin: 0 30px;
        border-bottom: 2px solid transparent;
        color: #909399;
        text-align: center;

    }

    .el-menu-item > a {
        text-decoration: none;
        position: relative;
        top: -8px;
    }

    .el-menu.el-menu--horizontal {
        width: 1200px;
        margin: 0 auto;
    }
    .message ul {
        padding: 0;

    }
    .message li{
        width: 100%;height: auto;
        background:  no-repeat left 14px;
        padding: 0 0 0px 26px;
        height: 40px;
        overflow: hidden;
        clear: both;
        line-height: 40px;
        font-size: 14px;
    }
    .message li Report{
        float: right;
        color: #aaa;
        font-size: 14px;
    }
    .message li  #ReportIDIssueTime{
        float: right;
    }

    .path{
        height: 30px;
        line-height: 30px;

        border-bottom: solid 1px #DDD;
        padding-left: 15px;
    }
</style>
<body>
<div>
    <el-container>
        <el-header style="width: 1200px;margin: 0 auto ;height: auto;padding: 0">
            <!--            <img src="./imgs/logo.jpg" alt="">-->
            <div>
                <h1 style="color: #003E7D">考试报名系统</h1>

            </div>
            <div style="height: 45px;border-bottom: solid 3px #003E7D;">
                <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect"
                         background-color="#E7E8EB" text-color="#003E7D">
                    <el-menu-item index="1"><a href="/">首页</a></el-menu-item>
                    <el-menu-item index="2"><a href="/message.html">公示公告</a></el-menu-item>
                    <el-menu-item index="3"><a href="/item.html">考试项目</a></el-menu-item>
                    <el-menu-item index="4"><a href="/apply.html">考试报名</a></el-menu-item>
                    <el-menu-item index="5"><a href="/scoreinquiry.html">成绩查询</a></el-menu-item>
                    <el-menu-item index="6"><a href="">准考证打印</a></el-menu-item>
                    <el-menu-item index="7"><a href="">考试论坛</a></el-menu-item>
                </el-menu>
            </div>

        </el-header>
        <el-main style="width: 1200px;margin: 0 auto;height: auto">
            <div class="path">
                <a href="">首页</a>
                <span>>报名 </span>
            </div>
            <div style="width: 1154px">
                <!--报名表单服务-->
                <el-form ref="form" :model="form" label-width="80px">
                    <el-form-item label="活动名称">
                        <el-input v-model="form.name"></el-input>
                    </el-form-item>
                    <el-form-item label="活动区域">
                        <el-select v-model="form.region" placeholder="请选择活动区域">
                            <el-option label="区域一" value="shanghai"></el-option>
                            <el-option label="区域二" value="beijing"></el-option>
                        </el-select>
                    </el-form-item>
                    <el-form-item label="活动时间">
                        <el-col :span="11">
                            <el-date-picker type="date" placeholder="选择日期" v-model="form.date1" style="width: 100%;"></el-date-picker>
                        </el-col>
                        <el-col class="line" :span="2">-</el-col>
                        <el-col :span="11">
                            <el-time-picker placeholder="选择时间" v-model="form.date2" style="width: 100%;"></el-time-picker>
                        </el-col>
                    </el-form-item>
                    <el-form-item label="即时配送">
                        <el-switch v-model="form.delivery"></el-switch>
                    </el-form-item>
                    <el-form-item label="活动性质">
                        <el-checkbox-group v-model="form.type">
                            <el-checkbox label="美食/餐厅线上活动" name="type"></el-checkbox>
                            <el-checkbox label="地推活动" name="type"></el-checkbox>
                            <el-checkbox label="线下主题活动" name="type"></el-checkbox>
                            <el-checkbox label="单纯品牌曝光" name="type"></el-checkbox>
                        </el-checkbox-group>
                    </el-form-item>
                    <el-form-item label="特殊资源">
                        <el-radio-group v-model="form.resource">
                            <el-radio label="线上品牌商赞助"></el-radio>
                            <el-radio label="线下场地免费"></el-radio>
                        </el-radio-group>
                    </el-form-item>
                    <el-form-item label="活动形式">
                        <el-input type="textarea" v-model="form.desc"></el-input>
                    </el-form-item>
                    <el-form-item>
                        <el-button type="primary" @click="onSubmit">立即创建</el-button>
                        <el-button>取消</el-button>
                    </el-form-item>
                </el-form>

                <!--报名表单结束-->
            </div>
        </el-main>
        <el-footer>
            <hr>
            <div style="height: 50px;width: 100%;background-color: rgb(244,244,244);text-align: center">
                <p>Author：xiangyu 武汉东湖学院 计算机科学与技术四班 毕业设计 </p>
            </div>

        </el-footer>
    </el-container>
</div>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: "body>div",
        data: {
            activeIndex: '1',
            activeIndex2: '1',
            arr: ['imgs/logo1.jpg', 'imgs/2.jpg'],
            form: {
                name: '',
                region: '',
                date1: '',
                date2: '',
                delivery: false,
                type: [],
                resource: '',
                desc: ''
            }
        },
        methods: {
            handleSelect(key, keyPath) {
                console.log(key, keyPath);
            },

            onSubmit() {
                console.log('submit!');
            }
        }
    })
</script>
</body>
</html>